// menuType: 'D', 默认目录 D,菜单M,B按钮
const list = [
  {
    params: {},
    menuId: 1,//菜单ID
    menuName: "文档", // 菜单名称
    parentName: null,//父级名称
    parentId: 0,//父级Id
    orderNum: "1",//排序
    path: "http://evue.top/",//跳转路径
    component: 'Layout', // 组件路径
    isFrame: 1,//默认不是外链
    menuType: "D",//菜单类型
    visible: 1,//显示隐藏
    perms: "",//权限标识
    icon: "link",
    children: []
  },
  {
    params: {},
    menuId: 2,
    menuName: "系统管理",
    parentName: null,
    parentId: 0,
    orderNum: "2",
    path: 'system',
    component: 'Layout',
    isFrame: 0,//默认不是外链
    menuType: 'D',
    visible: 1,
    perms: '',
    icon: 'lock',
    children: [
      {
        params: {},
        menuId: 21,
        parentName: null,
        menuName: "用户管理",
        parentId: 2,
        orderNum: "1",
        path: 'user',
        component: 'system/user',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 24,
        parentName: null,
        menuName: "角色管理",
        parentId: 2,
        orderNum: "1",
        path: 'role',
        component: 'system/role',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 22,
        parentName: null,
        menuName: "部门管理",
        parentId: 2,
        orderNum: "2",
        path: 'sector',
        component: 'system/sector',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 23,
        parentName: null,
        menuName: "菜单管理",
        parentId: 2,
        orderNum: "3",
        path: 'menu',
        component: 'system/menu',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
    ]
  },
  {
    params: {},
    menuId: 3,
    menuName: "店铺",
    parentName: null,
    parentId: 0,
    orderNum: "3",
    path: 'shop',
    component: 'Layout',
    isFrame: 0,//默认不是外链
    menuType: 'D',
    visible: 1,
    perms: '',
    icon: 'example',
    children: [
      {
        params: {},
        menuId: 31,
        parentName: null,
        menuName: "微页面",
        parentId: 3,
        orderNum: "1",
        path: 'feature-list',
        component: 'shop/feature/list',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 32,
        parentName: null,
        menuName: "编辑微页面",
        parentId: 3,
        orderNum: "2",
        path: 'feature-create',
        component: 'shop/feature/create/edit',
        menuType: 'M',
        visible: 0,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 33,
        parentName: null,
        menuName: "微集合",
        parentId: 3,
        orderNum: "3",
        path: 'clump',
        component: 'shop/clump',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 34,
        parentName: null,
        menuName: "素材中心",
        parentId: 3,
        orderNum: "4",
        path: 'attachment',
        component: 'shop/attachment',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
    ]
  },
  {
    params: {},
    menuId: 4,
    menuName: "商品",
    parentName: null,
    parentId: 0,
    orderNum: "4",
    path: 'goods',
    component: 'Layout',
    isFrame: 0,//默认不是外链
    menuType: 'D',
    visible: 1,
    perms: '',
    icon: 'guide',
    children: [
      {
        params: {},
        menuId: 41,
        parentName: null,
        menuName: "商品管理",
        parentId: 4,
        orderNum: "1",
        path: 'list',
        component: 'goods/list',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 42,
        parentName: null,
        menuName: "发布商品",
        parentId: 4,
        orderNum: "2",
        path: 'create',
        component: 'goods/create',
        menuType: 'M',
        visible: 0,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 43,
        parentName: null,
        menuName: "商品分组",
        parentId: 4,
        orderNum: "3",
        path: 'tag',
        component: 'goods/tag',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
    ]
  },
  {
    params: {},
    menuId: 5,
    menuName: "订单",
    parentName: null,
    parentId: 0,
    orderNum: "5",
    path: 'order',
    component: 'Layout',
    isFrame: 0,//默认不是外链
    menuType: 'D',
    visible: 1,
    perms: '',
    icon: 'form',
    children: [
      {
        params: {},
        menuId: 51,
        parentName: null,
        menuName: "订单查询",
        parentId: 5,
        orderNum: "1",
        path: 'list',
        component: 'order/list',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 52,
        parentName: null,
        menuName: "订单详情",
        parentId: 5,
        orderNum: "2",
        path: 'detail',
        component: 'order/detail',
        menuType: 'M',
        visible: 0,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 53,
        parentName: null,
        menuName: "批量发货",
        parentId: 5,
        orderNum: "3",
        path: 'delivery',
        component: 'order/delivery',
        menuType: 'M',
        visible: 0,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 54,
        parentName: null,
        menuName: "退款维权",
        parentId: 5,
        orderNum: "4",
        path: 'refunds',
        component: 'order/refunds',
        menuType: 'M',
        visible: 0,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 55,
        parentName: null,
        menuName: "订单详情",
        parentId: 5,
        orderNum: "5",
        path: 'refunds-detail',
        component: 'order/detail',
        menuType: 'M',
        visible: 0,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 56,
        parentName: null,
        menuName: "批量退款",
        parentId: 5,
        orderNum: "6",
        path: 'batch-refund',
        component: 'order/batch-refund',
        menuType: 'M',
        visible: 0,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 57,
        parentName: null,
        menuName: "快递发货",
        parentId: 5,
        orderNum: "7",
        path: 'express',
        component: 'order/express',
        menuType: 'M',
        visible: 0,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
    ]
  },
  {
    params: {},
    menuId: 6,
    menuName: "客户",
    parentName: null,
    parentId: 0,
    orderNum: "6",
    path: 'customer',
    component: 'Layout',
    isFrame: 0,//默认不是外链
    menuType: 'D',
    visible: 1,
    perms: '',
    icon: 'peoples',
    children: [
      {
        params: {},
        menuId: 61,
        parentName: null,
        menuName: "客户查询",
        parentId: 6,
        orderNum: "1",
        path: 'list',
        component: 'customer/list',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 62,
        parentName: null,
        menuName: "标签管理",
        parentId: 6,
        orderNum: "2",
        path: 'tag',
        component: 'customer/tag',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 63,
        parentName: null,
        menuName: "商品分组",
        parentId: 6,
        orderNum: "3",
        path: 'creat-tag',
        component: 'customer/create-tag',
        menuType: 'M',
        visible: 0,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 64,
        parentName: null,
        menuName: "客户中心",
        parentId: 6,
        orderNum: "4",
        path: 'detail',
        component: 'customer/detail',
        menuType: 'M',
        visible: 0,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
    ]
  },
  {
    params: {},
    menuId: 7,
    menuName: "应用中心",
    parentName: null,
    parentId: 0,
    orderNum: "7",
    path: 'marketing',
    component: 'Layout',
    isFrame: 0,//默认不是外链
    menuType: 'D',
    visible: 1,
    perms: '',
    icon: 'example',
    children: [
      {
        params: {},
        menuId: 71,
        parentName: null,
        menuName: "优惠券",
        parentId: 7,
        orderNum: "1",
        path: 'coupon-list',
        component: 'appcenter/marketing/coupon/list',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 72,
        parentName: null,
        menuName: "新建",
        parentId: 7,
        orderNum: "2",
        path: 'coupon-create',
        component: 'appcenter/marketing/coupon/create',
        menuType: 'M',
        visible: 0,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
      {
        params: {},
        menuId: 73,
        parentName: null,
        menuName: "优惠码",
        parentId: 7,
        orderNum: "3",
        path: 'promo-code-list',
        component: 'appcenter/marketing/promocode/list',
        menuType: 'M',
        visible: 1,
        isFrame: 0,
        perms: '',
        icon: '',
        children: []
      },
    ]
  },
];
export default [
  {
    url: '/menu',
    type: 'get',
    response: _ => {
      return {
        code: 20000,
        data: list
      }
    }
  },
]
